package com.wooming.studentinfosystem.dto;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * DTO类，用于封装查询参数
 *
 * @author wooming
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class StudentQueryDTO {
    private String type;// 查询类型
    private Integer pageNum = 1;// 页码
    private Integer pageSize = 10;// 每页条数
    private String sort = "student_id";// 排序字段(默认学号)
    private String order = "asc";// 排序方式(默认升序)
}
